home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 55375 / 55375.xpi / chrome / chromeFiles / skin / coolhandnuke / tabbrowser-mac35.css < prev    next >
Cascading Style Sheet File  |  2009-11-15  |  8KB  |  220 lines

  1. /* BT: Mac Tab Override */
  2. /* Unfocused window, selected tab */
  3. #main-window[btBoom="coolhandnuke"]:not([active="true"])
  4.   .tabbrowser-tab[selected="true"] {
  5.     background-color: transparent !important;
  6.     background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-end-bg.png");
  7.     background-repeat: no-repeat;
  8.     background-position: top right;
  9.     padding-right: 7px;
  10.     padding-left: 0px;
  11.     padding-bottom: 0px;
  12.     opacity: 0.65;
  13.     border: none;
  14.   }
  15.   #main-window[btBoom="coolhandnuke"]:not([active="true"])
  16.     .tabbrowser-tab[selected="true"] > .tab-icon-image {
  17.       background-color: transparent !important;
  18.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-start-bg.png");
  19.       background-repeat: no-repeat;
  20.       padding-left: 7px;
  21.       padding-top: 4px;
  22.       padding-bottom: 4px;
  23.       opacity: 1;
  24.       border: none;
  25.       height: 24px;
  26.       width: 23px;
  27.       margin: 0px;
  28.     }
  29.   #main-window[btBoom="coolhandnuke"]:not([active="true"])
  30.     .tabbrowser-tab[selected="true"] > .tab-text {
  31.       background-color: transparent !important;
  32.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-mid-bg.png");
  33.       background-repeat: repeat-x;
  34.       padding-top: 5px;
  35.       opacity: 1;
  36.       border: none;
  37.       height: 24px;
  38.       margin: 0px;
  39.       color: #fff;
  40.       text-shadow: none !important;
  41.     }
  42.   #main-window[btBoom="coolhandnuke"]:not([active="true"])
  43.     .tabbrowser-tab[selected="true"] > .tab-close-button {
  44.       background-color: transparent !important;
  45.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-mid-bg.png");
  46.       background-repeat: repeat-x;
  47.       opacity: 1;
  48.       border: none;
  49.       height: 24px;
  50.       margin: 0px;
  51.     }
  52.     #main-window[btBoom="coolhandnuke"]:not([active="true"])
  53.       .tabbrowser-tab[selected="true"] > .tab-close-button > image {
  54.         margin: 0px;
  55.       }
  56.  
  57. /* Unfocused window, unselected tab */
  58. #main-window[btBoom="coolhandnuke"]:not([active="true"])
  59.   .tabbrowser-tab:not([selected="true"]) {
  60.     background-color: transparent !important;
  61.     background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-end-bg.png");
  62.     background-repeat: no-repeat;
  63.     background-position: top right;
  64.     padding-right: 7px;
  65.     padding-left: 0px;
  66.     padding-bottom: 0px;
  67.     opacity: 0.65;
  68.     border: none;
  69.   }
  70.   #main-window[btBoom="coolhandnuke"]:not([active="true"])
  71.     .tabbrowser-tab:not([selected="true"]) > .tab-icon-image {
  72.       background-color: transparent !important;
  73.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-start-bg.png");
  74.       background-repeat: no-repeat;
  75.       padding-left: 7px;
  76.       padding-top: 4px;
  77.       padding-bottom: 4px;
  78.       opacity: 1;
  79.       border: none;
  80.       height: 24px;
  81.       width: 23px;
  82.       margin: 0px;
  83.     }
  84.   #main-window[btBoom="coolhandnuke"]:not([active="true"])
  85.     .tabbrowser-tab:not([selected="true"]) > .tab-text {
  86.       background-color: transparent !important;
  87.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-mid-bg.png");
  88.       background-repeat: repeat-x;
  89.       padding-top: 5px;
  90.       opacity: 1;
  91.       border: none;
  92.       height: 24px;
  93.       margin: 0px;
  94.     }
  95.   #main-window[btBoom="coolhandnuke"]:not([active="true"])
  96.     .tabbrowser-tab:not([selected="true"]) > .tab-close-button {
  97.       background-color: transparent !important;
  98.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-mid-bg.png");
  99.       background-repeat: repeat-x;
  100.       opacity: 1;
  101.       border: none;
  102.       height: 24px;
  103.       margin: 0px;
  104.     }
  105.     #main-window[btBoom="coolhandnuke"]:not([active="true"])
  106.       .tabbrowser-tab:not([selected="true"]) > .tab-close-button > image {
  107.         margin: 0px;
  108.       }
  109.  
  110. /* focused window, selected tab */
  111. #main-window[btBoom="coolhandnuke"][active="true"]
  112.   .tabbrowser-tab[selected="true"] {
  113.     background-color: transparent !important;
  114.     background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-end-bg.png");
  115.     background-repeat: no-repeat;
  116.     background-position: top right;
  117.     padding-right: 7px;
  118.     padding-left: 0px;
  119.     padding-bottom: 0px;
  120.     opacity: 1;
  121.     border: none;
  122.   }
  123.   #main-window[btBoom="coolhandnuke"][active="true"]
  124.     .tabbrowser-tab[selected="true"] > .tab-icon-image {
  125.       background-color: transparent !important;
  126.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-start-bg.png");
  127.       background-repeat: no-repeat;
  128.       padding-left: 7px;
  129.       padding-top: 4px;
  130.       padding-bottom: 4px;
  131.       border: none;
  132.       height: 24px;
  133.       width: 23px;
  134.       margin: 0px;
  135.     }
  136.   #main-window[btBoom="coolhandnuke"][active="true"]
  137.     .tabbrowser-tab[selected="true"] > .tab-text {
  138.       background-color: transparent !important;
  139.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-mid-bg.png");
  140.       background-repeat: repeat-x;
  141.       padding-top: 5px;
  142.       border: none;
  143.       height: 24px;
  144.       margin: 0px;
  145.       color: #fff;
  146.       text-shadow: none !important;
  147.     }
  148.   #main-window[btBoom="coolhandnuke"][active="true"]
  149.     .tabbrowser-tab[selected="true"] > .tab-close-button {
  150.       background-color: transparent !important;
  151.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-active-mid-bg.png");
  152.       background-repeat: repeat-x;
  153.       border: none;
  154.       height: 24px;
  155.       margin: 0px;
  156.     }
  157.     #main-window[btBoom="coolhandnuke"][active="true"]
  158.       .tabbrowser-tab[selected="true"] > .tab-close-button > image {
  159.         margin: 0px;
  160.       }
  161.  
  162.  
  163. /* focused window, unselected tab */
  164. #main-window[btBoom="coolhandnuke"][active="true"]
  165.   .tabbrowser-tab:not([selected="true"]) {
  166.     background-color: transparent !important;
  167.     background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-end-bg.png");
  168.     background-repeat: no-repeat;
  169.     background-position: top right;
  170.     padding-right: 7px;
  171.     padding-left: 0px;
  172.     padding-bottom: 0px;
  173.     opacity: 0.75;
  174.     border: none;
  175.   }
  176. #main-window[btBoom="coolhandnuke"][active="true"]
  177.   .tabbrowser-tab:not([selected="true"]):hover {
  178.     opacity: 1;
  179.   }
  180.   #main-window[btBoom="coolhandnuke"][active="true"]
  181.     .tabbrowser-tab:not([selected="true"]) > .tab-icon-image {
  182.       background-color: transparent !important;
  183.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-start-bg.png");
  184.       background-repeat: no-repeat;
  185.       padding-left: 7px;
  186.       padding-top: 4px;
  187.       padding-bottom: 4px;
  188.       opacity: 1;
  189.       border: none;
  190.       height: 24px;
  191.       width: 23px;
  192.       margin: 0px;
  193.     }
  194.   #main-window[btBoom="coolhandnuke"][active="true"]
  195.     .tabbrowser-tab:not([selected="true"]) > .tab-text {
  196.       background-color: transparent !important;
  197.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-mid-bg.png");
  198.       background-repeat: repeat-x;
  199.       padding-top: 5px;
  200.       opacity: 1;
  201.       border: none;
  202.       height: 24px;
  203.       margin: 0px;
  204.     }
  205.   #main-window[btBoom="coolhandnuke"][active="true"]
  206.     .tabbrowser-tab:not([selected="true"]) > .tab-close-button {
  207.       background-color: transparent !important;
  208.       background-image: url("../../skin/coolhandnuke/resources/tabbrowser/mac35/mactab-inactive-mid-bg.png");
  209.       background-repeat: repeat-x;
  210.       opacity: 1;
  211.       border: none;
  212.       height: 24px;
  213.       margin: 0px;
  214.     }
  215.     #main-window[btBoom="coolhandnuke"][active="true"]
  216.       .tabbrowser-tab:not([selected="true"]) > .tab-close-button > image {
  217.         margin: 0px;
  218.       }
  219.  
  220.